package ${basePackage}.service;
import ${basePackage}.model.${modelNameUpperCamel};
import java.util.List;
import org.apache.ibatis.annotations.Param;
/**
 * Created by ${author} on ${date}.
 */
public interface ${modelNameUpperCamel}Service  {

    int deleteEntityById(String id);

    int addEntity(${modelNameUpperCamel} record);

    ${modelNameUpperCamel} getEntityById(String id);

    List<${modelNameUpperCamel}> getAll();

    int updateEntity(${modelNameUpperCamel} record);

    List<${modelNameUpperCamel}> getAllWhere(String wheresql);

    int batchInsert(@Param("list") List<${modelNameUpperCamel}> list);
}







